Previous Book Contents Book Index Next

Inside Macintosh: /
QuickDraw 3D RAVE / QuickDraw 3D RAVE Reference
QuickDraw 3D RAVE Routines / Manipulating Draw Contexts


QADrawLine

You can use the QADrawLine function to draw a line between two points.

#define QADrawLine(drawContext,v0,v1) \
            (drawContext)->drawLine (drawContext,v0,v1)
drawContext
A draw context.
v0
A Gouraud vertex.
v1
A Gouraud vertex.
DESCRIPTION
The QADrawLine function draws the line specified by the v0 and v1 parameters to the draw context specified by the drawContext parameter. The size of the line is determined by the kQATag_Width state variable of the draw context. If the specified vertices have different colors, the line color is interpolated smoothly between the two vertex colors.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
28 AUG 1996